package com.itheima.mapper;

import com.itheima.domain.Permission;

import java.util.List;

public interface PermissionMapper {
    List<Permission> findAll();

    void save(Permission permission);

    void deleteByIds(String[] id) throws Exception;

    void deleteById(String id) throws Exception;

    List<Permission> query(String name);
}
